package com.bh.config;

import com.bh.filter.RouteFilter;
import com.bh.filter.TokenFilter;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.util.RouteMatcher;

/**
 * @author Wang
 * @version 1.0
 * @date 2022/6/9 14:09
 */
@Configuration
public class FilterConfig {
    @Bean
    TokenFilter tokenFilter(){
    return new TokenFilter();
    }

    @Bean
    RouteFilter routeFilter(){
        return new RouteFilter();
    }
}
